<script>
	import ajax from "./utills/ajax.js"
export default {
	onLaunch: function() {
		// uni.getUserInfo({
		// 	provider: 'weixin',
		// 	success: function(infoRes) {
		// 		console.log('-------获取微信用户所有-----')
		// 		console.log(JSON.stringify(infoRes.userInfo));
		// 	}
		// });
	
		setTimeout(() => {
			uni.setTabBarBadge({
				index: 3,
				text: '31'
			});
			uni.showTabBarRedDot({
			});
		}, 1000);
	},
	onShow: function() {
		console.log('App Show');
	},
	onHide: function() {
		console.log('App Hide');
	}
};
</script>

<style lang="scss">

@import "uview-ui/index.scss";
@font-face {
	font-family: uniicons;
	src: url('/static/uni.ttf');
}
page{
display: flex;
  flex-direction: column;
  height: 100%;
   /* margin-top: 178rpx; */
  width: 100%;
  box-sizing: border-box;
  font-family: "思源黑体";
}

</style>
